package com.aiapphub.SystemCode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.aiapphub.SystemCode.entity.AppMapping;
import org.apache.ibatis.annotations.Mapper;

/**
 * App映射 Mapper接口
 */
@Mapper
public interface AppMappingMapper extends BaseMapper<AppMapping> {

    /**
     * 根据App名称查询启用的 API Key
     * @param appName App名称
     * @return App映射信息
     */
    AppMapping selectByAppName(String appName);
}

